package com.chengqs.rainbow.common.security.token.properties;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

/**
 * <B>主类名称：</B>OAuth2ClientProperties<BR>
 * <B>概要说明：</B>enter<BR>
 *
 * @author: chengqs
 * @create: 2025-09-06 23:34:38
 **/
@Data
public class OAuth2ClientProperties {

    /**
     * 第三方应用clientId
     */
    private String clientId;

    /**
     * 第三方应用secret
     */
    private String secret;

    /**
     * token的有效时间
     */
    private int accessTokenValidateSeconds = 7200;

    private String authorizedGrantTypes;

    private List<String> scopes = new ArrayList<>();

    private String realm;
}

